package com.sniff.atp.modules.test.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 赠送会员日志
 * </p>
 *
 * @author macro
 * @since 2023-12-12
 */
@Getter
@Setter
@TableName("ops_membership_change_log")
@ApiModel(value = "OpsMembershipChangeLog对象", description = "赠送会员日志")
public class OpsMembershipChangeLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("会员赠送日志自增id")
    @TableId(value = "ops_membership_change_log_id", type = IdType.AUTO)
    private Long opsMembershipChangeLogId;

    @ApiModelProperty("会员赠送id")
    private Long opsMembershipChangeId;

    @ApiModelProperty("客户id")
    private Long customerId;

    @ApiModelProperty("客户店铺id")
    private Long customerShopId;

    @ApiModelProperty("客户超级id")
    private Long superCustomerId;

    @ApiModelProperty("是不是自动续费，默认0")
    private Integer autoRecharge;

    @ApiModelProperty("赠送时长")
    private Long day;

    @ApiModelProperty("会员费用")
    private Double membershipFee;

    @ApiModelProperty("会员身份收费标准id")
    private String membershipTemplatePriceId;

    @ApiModelProperty("会员身份收费标准名称")
    private String membershipTemplatePriceName;

    @ApiModelProperty("会员身份id")
    private String membershipTemplateId;

    @ApiModelProperty("会员身份名称")
    private String membershipTemplateName;

    @ApiModelProperty("操作人")
    private String operatePerson;

    @ApiModelProperty("操作人手机号")
    private String operateMobile;

    @ApiModelProperty("工单编号")
    private String workOrderId;

    @ApiModelProperty("状态：已登记，已处理，处理失败")
    private String status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态：已登记，已处理，处理失败")
    private String membershipTemplateNameFinal;

    @ApiModelProperty("创建时间")
    private Date expiresDateFinal;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("客户名称")
    private String customerName;

    @TableField(exist = false)
    private Date startTime;

    @TableField(exist = false)
    private Date endTime;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;

}
